package Pattern.FactoryPattern.Example;



/**
 * @Author MJS
 * @Date 2021/8/4 10:22
 * @Description
 * 工厂A类 只生成A类产品
 */
public class FactoryA extends Factory{
    public Product Manufacture() {
        return new ProductA("华为手机",4999);
    }
}
